package com.hzncc.flowable_diboot.project_contracts.vo;

import com.diboot.core.binding.annotation.BindEntityList;
import com.hzncc.flowable_diboot.project_contracts.entity.ProjectSamContractEquipment;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
* 项目类产品供销合同 VO定义
* @author MyName
* @version 1.0
* @date 2024-09-26
* Copyright © MyCorp
*/
@Getter @Setter @Accessors(chain = true)
public class ProjectSamContractDetailVO extends ProjectSamContractListVO  {
    private static final long serialVersionUID = 1218373924097700688L;

    @BindEntityList(
            entity = ProjectSamContractEquipment.class,
            condition = "this.id = sam_contract_id",
            deepBind = true
    )
    List<ProjectSamContractEquipmentDetailVO> equipmentDetailVOS;
}